﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeatherSystem.Application.ContentAdapter.TextAdapter;
using WeatherSystem.Application.MsgHandler;
using WeatherSystem.Data.Response;

namespace WeatherSystem.Application.ContentAdapter
{
    class Default : TextAdapter.TextAdapterBase
    {
        public override string KeyWord => "";
        protected override AdaptMode AdaptMode => AdaptMode.Contain;

        public override ResponseMessageBase Handle(Message message)
        {
            return new TextMsg(message.FromUserName, message.ToUserName, Data.Convert.ToTimeStamp(DateTime.Now), "欢迎使用");
        }
    }
}
